ExamPlay Dark Logo
Se connecter

Computer Science for IGCSE & O level - Data Representation (Section 3 - No. 36)

In a two's complement system, how is the number -5 represented in an 8-bit format?
00000101
11111011
11111010
10000101

Explication

To get -5, you first take the binary of 5 (00000101), invert all the bits (11111010) and add 1.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc